add motor control