just added a few more comments to my code