Researchers programmed a computer to compare structures and toxic effects of different chemicals, making it possible to then predict the toxicity of new chemicals based on their structural similarity to known ones.