rename static function name to prevent duplicate symbol error