added motor master comm code