markov and fixes