Please add some comments explaining what this section does.