some non-working middleware