added code to example