add total cost view