cleaned up a docstring