new query interface: integration