add search with duplicates solution