added method.rb