revise docstring