adding docstring and comment