In a socio-evolutionary approach, Durkheim described the evolution of societies from mechanical solidarity to organic solidarity (one rising from mutual need). As the societies become more complex, evolving from mechanical to organic solidarity, the division of labour is counteracting and replacing to collective consciousness. In the simpler societies, people are connected to others due to personal ties and traditions; in the larger, modern society they are connected due to increased reliance on others with regard to them performing their specialized tasks needed for the modern, highly complex society to survive. In mechanical solidarity, people are self-sufficient, there is little integration and thus there is the need for use of force and repression to keep society together. Also, in such societies, people have much fewer options in life. In organic solidarity, people are much more integrated and interdependent and specialization and cooperation is extensive. Progress from mechanical to organic solidarity is based first on population growth and increasing population density, second on increasing "morality density" (development of more complex social interactions) and thirdly, on the increasing specialization in workplace. One of the ways mechanical and organic societies differ is the function of law: in mechanical society the law is focused on its punitive aspect, and aims to reinforce the cohesion of the community, often by making the punishment public and extreme; whereas in the organic society the law focuses on repairing the damage done and is more focused on individuals than the community.