added example in docstr