added a query