Loops, how do they work