templates patched