first working repl version