different ways thread