total_donation is a simple enough function that it would likely be better to use a lambda here.