simplified enumIterator