Slicing now working properly.