templates for index creation