rewrite add two sum