collection copy-on-write is working