a template is used