Although many mutations are harmful, some can help a population to adapt to environmental changes and enhance its chances of survival. Mutations have always been thought to be random, chance events, but the discovery of a set of enzymes known as mutases indicates that cells have mechanisms for generating them. The process needs to be tightly regulated, though, and is switched on only when the cell is under stress.