addQuery