better dedup