Coffee Middleware