updated filter code