Made some changes to index.