map() and filter() should not be destructive