rearranged lines in rps.rb