how to use xrefs