modifying index file 2nd