refactor template