start of working threads