custom patch process