a more fully featured version of dtm including repl