Added double sumAB for addition calculations in case 1