Changed calculation of price