Most Megachilidae build their nests in above-ground cavities; they all are solitary bees. Their nesting habits means that in some studies of bee diversity, this bee family is most likely to be the one encountered, even though the many ground nesting bees are much greater in species numbers (~70% of all bee species are ground nesters). For example, in Krombein's trap-nesting survey (1967), almost all bees that nested in his offerings were Megachilid species—40 of 43 occupying bee species. (They were outnumbered in diversity by almost twice as many species of wasps (75) that utilized the nests).