add option THREADPOOL