mod worker.cpp