DRYing up code WRT option name