proper formmating, deleted markov_terminal