prints histograms