changed Robot.java