The diversity of immunoglobulins and T cell receptors is largely due to the assembly of functional genes from separate segments. The mechanism by which these gene fragments are joined is starting to be deciphered, with broken DNA molecules that may be intermediates in the reaction providing a new clue.