Can you put some comments explaining the slicing?