Markov predictor