finished code example for section8, chapter6, in "DuplicateObjects" directory!