efficiency and histograms