Markov - mostly working.
Markov - submitted version.