add HMM and MMSEG