Researchers show how the immune system distinguishes between self molecules and non-self molecules such as those from pathogens.