added threader2 and fixed threader1