結果 : sum function not adding correctly