added example and improved readme