Factors contributing to the establishment of villages