got number against eof working properly