added hmm_demo