moved index to example