added HMM