adding filtering output