added HMM example