Output refactored to contain data filters within.