added filter query