remove dependency on pyhsmm