docstring added to functions