add error bars for the calculations