I don't understand what's happening here. If it's not a string we take the value and turn it into a single elements list?