ability to reply from the middleware