Setting up index2