added one thread class