changed hmm-states to list and therefore changed state2id