improving repl
a bunch of no-so-smart stuff