print for index