add a worker and worker thread