- Changed forreach for regular for loops.