added AveragingHist and SimpleHist