add doc_embed function