coded ShoppingCartController