How can I cumulatively add or subtract from submission to submission?