Can you explain what lines 23-26 are doing?