This entire change changes the behaviour of this function.  In the above code each removal is reported; in the code below only the overall change is reported.