added DeepCopy stuff to copy the values instead of the addresses