add the article duplication checking logic