add some comments to code