Scientists discovered that vitamin B12 is the molecular signal that lets roundworms pass on behavioral changes to their offspring.