Crop rotation and long-term crop rotations confer the replenishment of nitrogen through the use of green manure in sequence with cereals and other crops, and can improve soil structure and fertility by alternating deep-rooted and shallow-rooted plants. Other methods to combat lost soil nutrients are returning to natural cycles that annually flood cultivated lands (returning lost nutrients indefinitely) such as the Flooding of the Nile, the long-term use of biochar, and use of crop and livestock landraces that are adapted to less than ideal conditions such as pests, drought, or lack of nutrients.