Hidden Markov model added