add problem, hidden Markov model