new template structure and templates