start of motor control