added history to repl