allow for query filtering