Revert "Revert "sum""

This reverts commit 5ed699bef8faeed9e8fbbb99f8f9f7453b1eda27.