creates references and anchors properly for geometry