made change to markov chain handling to ensure that we do not conflict with other identities