figuring out middleware