getting index to work