commented

added comments to explain