backup first version pthread