added example query calls from multithreaded context