add a function to get the unanswered queries