What is the purpose of the block (lines 117-124)?