new example and edits to version
updates and extensions to version