[PD] intelligent patching