made docstring python-like