Is the total cost supposed to be interpolated here?