changes for add to cart functionality