forgot to allocate pthread_t