small change to the middleware (just moved a variable declaration).  update to the .md file