begin of slicing