added TemplateLoader