(I think I have a slight preference for this looping vs. making something upstream do it.)