building the repl