TJ: build dependencies.
TJ: start of singlecorequery.