iterators appear to return copies of the elements so use the address of the element to modify it