remove duplicate markov chain method