Just curious why convert foreach to for loop?