Code for the robots