missing ->eof call