Added docstring for method