modified methods.rb