improved  Hist. Edit