added more comments to be thorough

added more comments to be thorough