Added for loops (of the 3 variety)