modifying index template