initial stab at the markov generator