controlling the accelerator