Add template structure