reformat template
enable templating across the board