change method calculatePrice