add HMM methods