removed thread.c