should use that get_doc_template