text: Most living things have predators and therefore are in a constant evolutionary arms race to develop antipredator adaptations, while the predator adapts to become more efficient at defeating the prey's adaptations. Some organisms have evolved to make detection less likely, for example by nocturnality and camouflage. Others have developed chemical defences such as the deadly toxins of certain snakes and wasps, or the noxious scent of the skunk. Such prey often send clear and honest warning signals to their attackers with conspicuous aposematic (warning) patterns. The brightness of such warning signs is correlated with the level of toxicity of the organism.
  In Batesian mimicry, the mimic effectively copies the coloration of an aposematic animal, known as the model, to deceive predators into behaving as if it were distasteful. The success of this dishonest display depends on the level of toxicity of the model and the abundance of the model in the geographical area. The more toxic the model is, the more likely it is that the predator will avoid the mimic. The abundance of the model species is also important for the success of the mimic because of frequency-dependent selection. When the model is abundant, mimics with imperfect model patterns or slightly different coloration from the model are still avoided by predators. This is because the predator has a strong incentive to avoid potentially lethal organisms, given the likelihood of encountering one. However, in areas where the model is scarce or locally extinct, mimics are driven to accurate aposematic coloration. This is because predators attack imperfect mimics more readily where there is little chance that they are the model species. Frequency-dependent selection may also have driven Batesian mimics to become polymorphic in rare cases where a single genetic switch controls appearance, as in the swallowtail butterflies (the Papilionidae) such as the pipevine swallowtail, and in the New Zealand stonefly Zelandoperla fenestrata.