check_for_duplicates