Added check for different ddd code and all the same digit to the validator