add the filter condition