legal system replaces kinship