add templates for references