added concept of price, and totals