Added markov generator