queries route through filters properly and end up back in the main program.