middleware listing organized better