documenting of patching mechanism