motor control improvements