fix example
update full example and move out of readme