first version to analyze the histogram data