checks against duplicates successfully