wip runInitialQuery