added thread.c