fixing up the repl a bit, we still have some major issues...