Missing static on private function