added a bunch of histograms stuff