name will probably either be null or empty always, so we can figure out which one of these is correct and use that.