changed queries for searchqueries