Added query sevice