Implement proper slicing