removing kwargs in slice_x and doc update