Corrected static function definition