always initialize thread pointer at program start