fix repl to use new; Issue #11