adding index thtml structure