Adding custom patches