added some comments to code