added an example of use for the rate estimator