converted comment to docstring