The molecular structures of two proteins from a family of genome-editing enzymes reveal how they target and cleave DNA. The results point the way to the rational design of new and improved versions of the enzymes for basic research and genetic engineering.