Early human settlements were dependent on proximity to water and—depending on the lifestyle—other natural resources used for subsistence, such as populations of animal prey for hunting and arable land for growing crops and grazing livestock. Modern humans, however, have a great capacity for altering their habitats by means of technology, irrigation, urban planning, construction, deforestation and desertification. Human settlements continue to be vulnerable to natural disasters, especially those placed in hazardous locations and with low quality of construction. Deliberate habitat alteration is often done with the goals of increasing comfort or material wealth, increasing the amount of available food, improving aesthetics, or improving ease of access to resources or other human settlements. With the advent of large-scale trade and transport infrastructure, proximity to these resources has become unnecessary, and in many places, these factors are no longer a driving force behind the success of a population. Nonetheless, the manner in which a habitat is altered is often a major determinant in population change.