slice is generic now