added definitions to docstring