improve REPL environment