changed docstring to be more informative