template for index complete