How does a renaming work?