change the Filter class and IfFilter class, then change the main run function