According to the first line of the function, name may be null. In which case, we'll crash on the next line.