template structure change