add code to example