DRYing it up