added more details to docstring