replaced snapshots with histograms