An enzyme that is unusually tolerant of a truly broad range of substrates can catalyse aldol-type chemistry on sugars in which the various hydroxyl groups are protected. The new methodology combines some of the most important advantages of enzyme and small-molecule catalysis.