computing a sum is for doing a budget