gearbox coding