rename slicewriter to slice
rename ringwriter to ring