Remember also that you can have two different data structures – a hash and a list – which both contain references to the same thing. Only one instance of the "thing" will exist, and its "reference count" will be at least 2. Therefore, notice that the object will not be removed from memory until both references to it are removed.