build the worker.