Patch Framework