switched to enumeration