comments

just added some comments to the code