copying references.