changed text, any number can be entered
Added NaN check for letters of the alphabet