foreach loops to for lopp = time efficent