add thread class......