Markov Generator