Added query to response