improve the REPL