enum to int mapping is now defined through settings