Add a middleware example