support for patch type