Motor control version 2.