changed the index