enumerator in place