add histogramming and top value reporting