working example
adding example to readme
improving example
adding tests