changed the way the robot takes movement commands