#13 replacing worker.pid with worker.id