I think this should be a private function rather than a method.