added error bars to the histograms