Renamed quality and make function pass to next middleware