Added total price functionality