added comments to the code-parvez