Several complex genetic mechanisms have evolved. These allow vertebrate B cells to generate a huge pool of antibodies from a relatively small number of antibody genes. The full details are not presented here, just a summary.