Calculation and cost calculations (EXPIRED)