adding example and docs