finished Costs page functions