Can change to an if instead. Was just using a common pattern for all the value gen selectors.