correct template structure