Adding motor control