markov update
added markov model stuff