adding a doctest.
doc.