More HMM work