handle dupes