started adding the cart functionality and buying functionality