repl now maintains state (woot!)