some minor changes in index