added example and updated readme.md