changed threadID to -1