WIP update to markov chain