Markov chain model