check_duplicate_numbers is working