rid work.c