added comments to estimate_probs