enhance robot.rb