changed TemplateType