template structure adapted