Added docstring to method