pass in template name