adding repl support