This simplifies the code by reducing the number of enumerators created while also making the code slightly more readable.