Example 6 added | Changing the reference of an object while maintaining integrity