replace RETURN_ENUMERATOR with RETURN_SIZED_ENUMERATOR