adding an example with multiple middlewares