rename slicewriter to slice