long ago, all animals looking like worms were lumped together by john ray and by linnaeus in their classifications. later, biologists found that some were in quite different groups. roundworms and flatworms are different phyla. inchworms are a type of caterpillar, and the slow-worm is a legless lizard.