Add thread trigger