some working thread beginning