updated readme, added an example