before use new template