bit of work on replacing slice_copy with slice when possible