New Code for robot