Seems to be working after a fashion. I'm not sure I'm iterating over all of the objects.