PrepareReferences