add a template for fetch