adding character markov and some options