Got rid of thread.c