added note into the middleware section