adds docstring r back in