finished markov!!!