removed dataFromSlice