patching steps