simple repl in main