adding the thread pool