added threadMaster and a tester, now not working link problem