getting sophisticated and using a patch file