Handling cases when there are no slices