Added to Histogram code