add multi motor support