start implementing REPL