improvements to index