added max pauc query