7 states hmm