Rename function to addToCart