as a group, the bivalves are adapted to penetrate into, and to move along horizontally along, soft ground such as mud and sand. common examples of this are razor shells, which can dig themselves into the sand with great speed to escape enemies, and cockles.