simplify enumeration