It’s long been known that our immune cells mix and match bits of genetic code to make new kinds of antibodies to fight newly encountered threats. But how these different gene segments come together has been a mystery. A study provides the answer, showing how the classic process of V(D)J recombination makes use of chromatin looping to gather the segments to be spliced.