adding MiddlewareExample.js