add reference collapsing