added initial run_motor control