template structure