refactor templates