Small changes in the example function.