Sometimes you need to make a copy of the object before storing it to the list. Thus, try to replace Add(listx,x); with Add(listx,ShallowCopy(x)); HTH, Dmitrii. -- Dima Pasechnik http://www.ntu.edu.sg/home/dima/