replaced markov