add to index.