updated wtable.c worker.c