I don't understand the patterns used here... Can you explain ?