don't insert twice the documents
accept nli as a criteria to remove documents