middleware empty class