updated shopping cart example