Working on template structure