updated markov example