Added index to example