compare.rb added