got general queries working (see interface)