I think you switched members and newMembers here. But if you computed the owners list in the factory, you wouldn't need newMembers at all :)