Middleware version 4.0