change calculatePrice