improved markov