removed dead code from the reader.