add docstring snippet