added example
added Object.defineProperty to example