split method "add_document"