Scientists have repurposed the gene-editing tool CRISPR to study which genes are targeted by particular antibiotics, providing clues on how to improve existing antibiotics or develop new ones.