Added query type