dupe checking