added voice and code for controlling the robot state