changes each to non-destructive map