the query box is working