edited shoppingcart class