removes redundant addition