made the docstring a bit more pythonic