TEMPLATE should always be a string