For loops galore loops.