added comments to my code