include hmm to function file