add utils and move robot.js