Tweak for loop