working term queries