Key functions that the robot must do