add hmm package