added query filter