Rewriting Candidate selection
Unifying references and labels