New functions

calculate prices, etc