Make this self private function, the code would be clearer.