reverted slicing syntaxes in the doctests temporaily.