Added template index