minimal docstring refactor