First pass of new repl