it works for add doc.