Broke GoRobot into functions