begin writing a REPL utility library