Add some comments to explain what's going on