added a working threadpool