add tracing for non-final templates