Changed changeDirection to changeGear