both are optional. fixed the docstring.