time spent and flips histograms