further implementation of HystMgmy