Consider using a dict here, like in AppScaleDown.