switch from markov chain