Added method listQueries