Markov chain now adding and writing.