almost done with the index file