handle enumeration condition