Markov

Pulling in @zaccranko changes