ok some markov stuff done