printing index