added back index template