extend reader for repl too