total costs over time