first attempt at robot.jsx