Could you change the type of the local `name` variable to `const char *`?