making index