Done on both for loops.