+ some imports for repl
~ prettify API a bit