new template apply sequence