Corrected error in calculation of additions