added example and minified version