markov stuff pretty much done, see readme