expand queries