patched example