The majority of them did! The scientists demonstrated that the memory of avoiding the foul scent as a caterpillar were carried over into the moth stage. While a moth or butterfly may not remember being a caterpillar, it can recall experiences gained as one. This "psyche" or "soul" of the insect carries over to its adult form. Moths have been shown to avoid toxic substances they encountered as larvae. This means that they retain knowledge of how to protect themselves against future attacks from the same source. For example, if a larva eats certain plants it is likely to develop into a moth that does not eat those plants as an adult. If however, it eats another plant it is more likely to be attracted to it as an adult because that is what the plant gave off when it was at its most poisonous. Some species of moth will only feed on one type of plant and won't change their diet as an adult. They tend to use their senses of smell and taste to find their food rather than look for specific plants with which to associate themselves. But not all moths respond to cues produced by their feeding sites as adults. Some species will make random choices about where they build their nests or lay their eggs regardless of whether the location is toxic or not. These moths don't seem to learn from their mistakes.