rename private function thread to immediate