adding maximum.rb