added a few comments to the code