Not quite getting the for loop nesting construct.