Male pea crabs need to work out which mussels contain females so they can avoid getting crushed by a closing mussel shell while searching for a mate. It is likely that males detect a pheromone that is released by females who are ready to mate. This chemical signal would guide the male crab to a mussel that contains a female.