added a check for alphanumeric numbers