added missing docstring.