clean accumulate docstring