Added query specification