use defaults attributes for template variables