this is the code from the gems robotics season 2014