nice job DRYing these up