added a validation that a valid number is being picked