initial patching