this part doesn't need to check if the string has letters, the fact that it didnt make it to the first part of the if (isDigit) means that it has letters in it.