adding to the index file