Added functions for motor control.