generated new data for histograms