this was the Vex Pros 'C' code for my team