I am not familiar with this part of the code. Can you explain the changes, and why they were made?