now outputs a filtered xmap