Added 3rd optional argument to ForEach - handle to iterated value,  converted tabs to spaces