var for threads