modified markov classes