trying to move template to index