I added comments to main.