middleware coverage