moved index to example and made new basic index