I don't see how this verifies that duplicates are removed?