Simplify the example function