minor tweaks to example