No longer need to set parent flag.
Changed properties to set as order not important, and duplicates should be avoided if possible.