woodpeckers, trogons, some nuthatches and many barbets, can excavate their own cavities. Far more species—including parrots, tits, bluebirds, most hornbills, some kingfishers, some owls, some ducks and some flycatchers—use natural cavities, or those abandoned by species able to excavate them; they also sometimes usurp cavity nests from their excavating owners. Those species that excavate their own cavities are known as "primary cavity nesters", while those that use natural cavities or those excavated by other species are called "secondary cavity nesters". Both primary and secondary cavity nesters can be enticed to use nest boxes (also known as bird houses); these mimic natural cavities, and can be critical to the survival of species in areas where natural cavities are lacking. Woodpeckers use their chisel-like bills to excavate their cavity nests, a process which takes, on average, about two weeks. Cavities are normally excavated on the downward-facing side of a branch, presumably to make it more difficult for predators to access the nest, and to reduce the chance that rain floods the nest. There is also some evidence that fungal rot may make the wood on the underside of leaning trunks and branches easier to excavate. Most woodpeckers use a cavity for only a single year. The endangered red-cockaded woodpecker is an exception; it takes far longer—up to two years—to excavate its nest cavity, and may reuse it for more than two decades. The typical woodpecker nest has a short horizontal tunnel which leads to a vertical chamber within the trunk. The size and shape of the chamber depends on species, and the entrance hole is typically only as large as is needed to allow access for the adult birds. While wood chips are removed during the excavation process, most species line the floor of the cavity with a fresh bed of them before laying their eggs. Trogons excavate their nests by chewing cavities into very soft dead wood; some species make completely enclosed chambers (accessed by upward-slanting entrance tunnels), while others—like the extravagantly plumed resplendent quetzal—construct more open niches. In most trogon species, both sexes help with nest construction. The process may take several months, and a single pair may start several excavations before finding a tree or stump with wood of the right consistency. Species which use natural cavities or old woodpecker nests sometimes line the cavity with soft material such as grass, moss, lichen, feathers or fur. Though a number