adding patchingCheck