add motor controller