examples modified. oo updated to latest version.