cleaned up docstring