Adding middleware for fun