Iteration D2 - correction to cart.rb