Change wtc to a private function.