setting the index