working on index template