sorting out run-template-motor