cleaned up some code in customer.rb