updated comments to code.