implemented addToCart