created a query storage