DRYing up on lists