changed structure of DualFilterView and DiffFilterFunction