Should this one be inside the forEach loop?
Same goes for middleware:after