modified the index file