This organization became more elaborate as the division of labor became more complicated, so the growing number of occupational groups were subsequently defined as jati (subcastes), often living in separate villages.
Things became more simple as all men were declared to be equal.