added Services for the query filtering