added docstring
Added docstring