Split out the robots' code