add orig and patch