How does this line work? It looks like it's a loop that doesn't do anything