yes, it's the same, but on line 271 we modify the object result, so we reset it.
But I guess that it would be better to modify result.name later, so we can skip this repeated lines.