added add_dependencies to motor controller 2