added some comments

added some comments to your code to help readers