adds pair sum , i think i can do better