deleted the filter code