added middleware, version bump