add docstring in all function