add first_thread