Changed to an iterative robot.