started to work on markov chain