change shoppingCart to shoppingcart in toshoppingcart function