In cultural anthropology, sedentism (sometimes called sedentariness; compare sedentarism) is the practice of living in one place for a long time. As of , the large majority of people belong to sedentary cultures. In evolutionary anthropology and archaeology, sedentism takes on a slightly different sub-meaning, often applying to the transition from nomadic society to a lifestyle that involves remaining in one place permanently. Essentially, sedentism means living in groups permanently in one place. The invention of agriculture led to sedentism in many cases, but the earliest sedentary settlements were pre-agricultural. For small-scale nomadic societies it can be difficult to adopt a sedentary lifestyle in a landscape without on-site agricultural or livestock breeding resources, since sedentism often requires sufficient year-round, easily accessible local natural resources. Non-agricultural sedentism requires good preservation and storage technologies, such as smoking, drying, and fermentation, as well as good containers such as pottery, baskets, or special pits in which to securely store food whilst making it available. It was only in locations where the resources of several major ecosystems overlapped that the earliest non-agricultural sedentism occurred. For example, people settled where a river met the sea, at lagoon environments along the coast, at river confluences, or where flat savanna met hills, and mountains with rivers. In archaeology a number of criteria must hold for the recognition of either semi or full sedentism. According to Israeli archaeologist Ofer Bar-Yosef, they are as follows: