index template addded