index of the template