edited rain.rb