hatching rate and ages of red-eyed tree frogs were observed in clutches that were and were not attacked by the cat-eyed snake. When a clutch was attacked at six days of age, the entire clutch hatched at the same time, almost instantaneously. However, when a clutch is not presented with the threat of predation, the eggs hatch gradually over time with the first few hatching around seven days after oviposition, and the last of the clutch hatching around day ten. Karen Warkentin's study further explores the benefits and trade-offs of hatching plasticity in the red-eyed tree frog. Evolution Plasticity is usually thought to be an evolutionary adaptation to environmental variations that is reasonably predictable and occurs within the lifespan of an individual organism, as it allows individuals to 'fit' their phenotype to different environments. If the optimal phenotype in a given environment changes with environmental conditions, then the ability of individuals to express different traits should be advantageous and thus selected for. Hence, phenotypic plasticity can evolve if Darwinian fitness is increased by changing phenotype. A similar logic should apply in artificial evolution attempting to introduce phenotypic plasticity to artificial agents. However, the fitness benefits of plasticity can be limited by the energetic costs of plastic responses (e.g. synthesizing new proteins, adjusting expression ratio of isozyme variants, maintaining sensory machinery to detect changes) as well as the predictability and reliability of environmental cues (see Beneficial acclimation hypothesis). Freshwater snails (Physa virgata), provide an example of when phenotypic plasticity can be either adaptive or maladaptive. In the presence of a predator, bluegill sunfish, these snails make their shell shape more rotund and reduce growth. This makes them more crush-resistant and better protected from predation. However, these snails cannot tell the difference in chemical cues between the predatory and non-predatory sunfish. Thus, the snails respond inappropriately to non-predatory sunfish by producing an altered shell shape and reducing growth. These changes, in the absence of a predator, make the snails susceptible to other predators and limit fecundity. Therefore, these freshwater snails produce either an adaptive or maladaptive response to the environmental cue depending on whether predatory sunfish are present or not. Given the profound ecological importance of temperature and its predictable variability over large spatial and temporal scales, adaptation to thermal variation has been hypothesized to be a key mechanism dictating the capacity of organisms for phenotypic plasticity. The magnitude of thermal variation