running hmm