auto detected thread