Added more pthread things