support for distributed queries