finished Modifying the Index Template