added one docstring.
made some progress, but not solved.