finishing up index