query evaluation almost done