A family of enzymes in plants plays an important role in the production of many medicines. Whitehead Institute researchers discovered how the enzymes in this family diversified to produce so many different molecules, and demonstrated how this knowledge could be used to engineer novel plant-based medicines.