TFQ: Base template finished