process of repl