in fact,if you look at shell architecture over geological time,keeping habitat as constant as you can,you find that some of these protective features(the narrow opening,for example)are found only in the more recent evolutionary lineages and don't appear at all in the first couple of hundred million years of molusc history