refactor collectors set up template method for runner