adding a patch