Adding fitting to real histograms