before threadpool addition