restrict enumeration