this is what your adaptive immune cells do with gene fragments. It takes gene segments and randomly combines them, then it does the same again, and then it randomly pulls out or adds in parts, to create billions of different receptors. They have three different groups of gene fragments.