add Daves motor control