adds docstring to the new private method