Added the slicing code.