hmms and util files