changed addition and subtraction