Added Thread Contol System