making enum localized