In larger forest and grassland tracts, however, predators often miss well-hidden ground nests. Ovenbirds conceal their nests by building a dome over their eggs, and worm-eating warblers pull leaves over their nests to hide the contents. Cavity nests, such as those excavated by woodpeckers, are perhaps the safest nest sites. Such nests are easy for humans and predators to find but are difficult to enter. Only a few snakes, long-armed raccoons, and flying squirrels can plunder these nests.
Starlings can even drive woodpeckers away from newly excavated holes.
The scarcity of such cavities explains why most cavity nesters adapt so readily to nest boxes. Some species change nest sites as the season progresses. Cardinals and rufous-sided towhees, for example, nest on the ground early in the season in April when there are no leaves on the shrubs. After leafout they switch to shrubs. Other species such as grackles and doves nest in the foliage of evergreens in March and April and switch to broadleafed shrubs after leaves appear.