added comments to probability