add some code for the start of the query filter implementation part.