add total costs