final analysis of cost