How to control the gas pedal