adding cart.rb