updated the output of the filtering functions