Implemented slicing which should work