_foreachIndex