discard_duplicates -> deduplication