modified:   robot.c