get a template