adding example and more docs