Added example. Minor tweaks