corrected docstring for example