Around 7000 BCE, the indigenous peoples of Mexico and Central America hunted game and gathered plants, including wild chili peppers. Corn was not yet cultivated, so one main source of calories was roasted agave hearts. By 1200 BCE, corn was domesticated and a process called nixtamalization, or treatment with lye, was developed to soften corn for grinding and improve its nutritional value. This allowed the creation of tortillas and other kinds of flat breads. The indigenous peoples of Mesoamerica had numerous stories about the origin of corn, usually related to being a gift of one or more gods, such as Quetzalcoatl.