write down index template