removed unnecessary field from the robot class