added dedup