make it as doctest
make the doctest of sphinx work more smoothly