adding numbers to markov and changing terminators