removes markov class