Explanation of the copied version of consolidate