this is throwing me an error while(! isNaN(s.next())) "The method isNaN(String) is undefined for the type ProgressReport" s is a scanner. I'm just trying to tokenize a text doc of the form int String int ... int ... String int .... int int String int ... int ... String int ... int etc. Oh yea, the question... Why? What am I doing, or what do I need to do?