testing with histograms