Modified object.rb