added the index
changed a few files
attempt2