add some repl functions