add REPL for testing