Create functions with descriptive names. The best function names flow as you read them, and describe what they do and what they return (if anything). They should contain verbs that describe actions take on the input data, if relevant. I might have named this function `writeMailingListTotalsToResponse` or something like that.