better dupe check
build