adding comments to the code