reinstate function docstring