Improved example in patching article