values are added but the negative numbers are not being added