revised index file and played with data file