slight mods on WorkerNode and HeadNode