edited changeCadence to setCadence