added repl helper