done the robot class